import request from './request'

export default {
  // 获取用户信息
  getUserInfo: (params) =>
    request.get('/gold/financial_product/user_holding', params),

  // 获取理财产品列表
  getGoldList: (params) =>
    request.get('/gold/financial_product/product/list', params),

  // 获取理财产品订单列表
  getGoldOrderList: (params) =>
    request.get('/gold/financial_product/product/order/page', params),

  // 获取商品列表
  getProductList: (params) =>
    request.get('/gold/financial_product/goods/page', params),

  // 获取商品详情
  getProductDetail: (params) =>
    request.get('/gold/financial_product/goods', params),

  // 获取商品订单列表
  getProductOrderList: (params) =>
    request.get('/gold/financial_product/goods_order/page', params),
}
